import requests

cookies = {
    'mp_8b1215dbcc852955566c4df66e547374_mixpanel': '%7B%22distinct_id%22%3A%20%221906ecf3dd6d4-0f2ec127dd5f77-4c657b58-1bcab9-1906ecf3dd71149%22%2C%22%24device_id%22%3A%20%221906ecf3dd6d4-0f2ec127dd5f77-4c657b58-1bcab9-1906ecf3dd71149%22%2C%22%24search_engine%22%3A%20%22bing%22%2C%22%24initial_referrer%22%3A%20%22https%3A%2F%2Fcn.bing.com%2F%22%2C%22%24initial_referring_domain%22%3A%20%22cn.bing.com%22%7D',
}

headers = {
    'Accept': '*/*',
    'Accept-Language': 'zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6',
    'Cache-Control': 'no-cache',
    'Connection': 'keep-alive',
    'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
    # 'Cookie': 'mp_8b1215dbcc852955566c4df66e547374_mixpanel=%7B%22distinct_id%22%3A%20%221906ecf3dd6d4-0f2ec127dd5f77-4c657b58-1bcab9-1906ecf3dd71149%22%2C%22%24device_id%22%3A%20%221906ecf3dd6d4-0f2ec127dd5f77-4c657b58-1bcab9-1906ecf3dd71149%22%2C%22%24search_engine%22%3A%20%22bing%22%2C%22%24initial_referrer%22%3A%20%22https%3A%2F%2Fcn.bing.com%2F%22%2C%22%24initial_referring_domain%22%3A%20%22cn.bing.com%22%7D',
    'Origin': 'http://www.xinfadi.com.cn',
    'Pragma': 'no-cache',
    'Referer': 'http://www.xinfadi.com.cn/priceDetail.html',
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0',
    'X-Requested-With': 'XMLHttpRequest',
}

data = {
    'limit': '20',
    'current': '1',
    'pubDateStartTime': '',
    'pubDateEndTime': '',
    'prodPcatid': '1187',
    'prodCatid': '',
    'prodName': '',
}

response = requests.post('http://www.xinfadi.com.cn/getPriceData.html', cookies=cookies, headers=headers, data=data, verify=False).json()
print(response)